Skip to content

Conversation

@BurnySc2
Copy link
Owner

@BurnySc2 BurnySc2 commented Jul 18, 2021

Goal of this PR: introduce individual unit unloading from transports, while allowing bot authors to decide if they want to enable this feature layer or not (there might be performance disadvantages)

TODO:

@BurnySc2 BurnySc2 mentioned this pull request Jan 9, 2023
@BurnySc2 BurnySc2 marked this pull request as draft June 27, 2025 11:15
client = await _setup_host_game(server, map_settings, players, realtime, random_seed, disable_fog)
# Bot can decide if it wants to launch with 'raw_affects_selection=True'
if not isinstance(players[0], Human) and getattr(players[0].ai, "raw_affects_selection", None) is not None:
if not isinstance(players[0], Human) and getattr(players[0].ai, "enable_feature_layer", None) is not None:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a typo and should be "raw_affects_selection", right ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants